package matlap.client.services.news;

import java.util.List;

import matlap.shared.New;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("news")
public interface NewsService extends RemoteService {

	List<New> getNews();

	New getNewsByTitle(String title);

	void insertNews(New n);

	void deleteNews(New n);

	void updateNews(New n);

}
